import java.util.ArrayList;
import java.util.List;
class Student implements Comparable<Student>
{


    String name;
    int age;

    public Student(int age,String name) {
        this.age = age;
        this.name=name;

    }

    @Override
    public int compareTo(Student o) {
        return this.age-o.age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}







public class text67 {
    public static void main(String[] args) {
        String s1="wel comehome";
        String s2="come";
        int i=0;
        ArrayList<Character> a=new ArrayList<>();
        for(i=0;i<s1.length();i++)
        {
            char b=s1.charAt(i);
            if(!s2.contains(b+""))
            {
                a.add(b);

            }
        }
        for(char b:a)
        {
            System.out.println(b);
        }

    }
    public static void main2(String[] args) {
        ArrayList<Student> d=new ArrayList<>();
        d.add(new Student(17,"wang"));
        d.add(new Student(20,"xiao"));
        d.add(new Student(19,"long"));
        System.out.println(d);



    }
    public static void main1(String[] args) {
        ArrayList<Integer> a=new ArrayList<>(9);
        int i=0;
        for(i=0;i<7;i++)
        {
            a.add(i);
        }
        a.add(1,18);
        a.add(8);
        System.out.println(a);
        System.out.println("----------------");
        a.remove(1);
        System.out.println(a);
        a.set(2,20);
        System.out.println(a);
        System.out.println(a.contains(9));
        //List<Integer>[]c=a.sublist(0,2);
        System.out.println(a.indexOf(20));
        //for(Integer c:a)
        //{
           // System.out.println(c);
        //}

        //System.out.println(a);
        //for(int d:a)
        //{
           // System.out.print(d+" ");
       // }





    }







}
